﻿using System;
using Windows.UI.Xaml.Data;

namespace Sumc.Client.ModernUI.Converters
{
    public class UppercaseConverter : IValueConverter
    {
        public object Convert(object value, Type targetType, object parameter, string language)
        {
            var text = value as string;
            var upperText = text.ToUpper();
            return upperText;
        }

        public object ConvertBack(object value, Type targetType, object parameter, string language)
        {
            return value;
        }
    }
}
